package Controllers;

import Entities.Pyfntbactivmed;
import Facades.PyfntbactivmedFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ManagedBean(name = "pyfntbactivmedController")
@ViewScoped
public class PyfntbactivmedController extends AbstractController<Pyfntbactivmed> implements Serializable {

    @EJB
    private PyfntbactivmedFacade ejbFacade;

    public PyfntbactivmedController() {
        super(Pyfntbactivmed.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
